package com.chaos.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chaos.framework.model.entity.IdModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

/**
 *
 * @author Jacky.Cui
 * @since 2024-11-13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@TableName("rbac_user_role")
@ApiModel(value="RbacUserRole实体", description="")
public class RbacUserRole extends IdModel {


    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;


    @ApiModelProperty(value = "角色id")
    @TableField("role_id")
    private Long roleId;


}
